package cs.upt.awp.services;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import cs.upt.awp.dao.CountryDAO;
import cs.upt.awp.dao.TravelImagesDAO;
import cs.upt.awp.data.Country;
import cs.upt.awp.data.TravelNote;

public class CountryServices {

	
	@Autowired
	CountryDAO countryDao;
	
	public Country getEntityById(String id) throws Exception {
		return countryDao.getEntityById(id);
	}

	
	public List<Country> getEntityList() throws Exception {
		return countryDao.getEntityList();
	}
}
